Q3Point3D_ToSpherical
You can use theQ3Point3D_ToSpherical
function to convert a three-dimensional point from Cartesian form to spherical form.
TQ3SphericalPoint *Q3Point3D_ToSpherical ( const TQ3Point3D *point3D, TQ3SphericalPoint *result);
point3D
- A three-dimensional point.
result
- On exit, a spherical point.
DESCRIPTION
TheQ3Point3D_ToSpherical
function returns, as its function result and in theresult
parameter, a spherical point that is the same point as the three-dimensional point specified by thepoint3D
parameter.